package zhklappoint.entity;

import javax.persistence.Column;
import javax.persistence.Entity;

import zhklappoint.util.BaseEntity;

//用户参加对应活动的记录表
@Entity(name="zhkl_user_activity")
public class UserActivityMid extends BaseEntity{
	
		//活动ID
		@Column(length = 32)
		private String activId;
		//wxuser的id
		@Column(length = 32)
		private String wxuserId;
		//活动对应公司的id
		@Column(length = 32)
		private String comId;
		
		
		
		
		//介绍人对应的手机号  介绍人的微信信息中必须绑定手机号码
		@Column(length = 16)
		private String userphone;
		//选择的服务对象 
		@Column(length = 128)
		private String choseObj;
				
		//预约起止时间是由Activity的status决定
		//约定预约时间起
		@Column(length = 16)
		private Long begTime;
		//约定预约时间止
		@Column(length = 16)
		private Long endTime;
		//状态活动免费的0 不需要订单信息 如果需要付费活动状态就有 
		//		预约未消费1 
		//		预约已消费2 
		//		预约已过期3 
		//		预约已退费4
		@Column(columnDefinition = "tinyint")
		private Integer status;
		/**
		 * 如活动是需要付费 需要关联订单信息 ordersign 
		 * 订单标识 付费活动才有值
		 * 
		 */
		//订单标识 ordersign 
		@Column(length = 64)
		private String orderSign;

		
		
		
		public String getChoseObj() {
			return choseObj;
		}

		public void setChoseObj(String choseObj) {
			this.choseObj = choseObj;
		}

		public String getComId() {
			return comId;
		}

		public void setComId(String comId) {
			this.comId = comId;
		}

		public String getActivId() {
			return activId;
		}

		public void setActivId(String activId) {
			this.activId = activId;
		}

		public String getWxuserId() {
			return wxuserId;
		}

		public void setWxuserId(String wxuserId) {
			this.wxuserId = wxuserId;
		}

		public String getUserphone() {
			return userphone;
		}

		public void setUserphone(String userphone) {
			this.userphone = userphone;
		}

		public Long getBegTime() {
			return begTime;
		}

		public void setBegTime(Long begTime) {
			this.begTime = begTime;
		}

		public Long getEndTime() {
			return endTime;
		}

		public void setEndTime(Long endTime) {
			this.endTime = endTime;
		}

		public Integer getStatus() {
			return status;
		}

		public void setStatus(Integer status) {
			this.status = status;
		}

		public String getOrderSign() {
			return orderSign;
		}

		public void setOrderSign(String orderSign) {
			this.orderSign = orderSign;
		}
}
